package com.iweb.test;

public class Worker {
    private String name;
    private int    age;
    private String sex;
//构造函数赋值
public Worker(){

}
    public Worker(String name,int age, String sex){
        this.name=name;
        this.age=age;
        this.sex=sex;
    }
        public  void show(){
        System.out.println("我叫:"+this.name+"\t"+"性别"+this.sex+"\t"+this.age);
    }

}
